-
Notifications
You must be signed in to change notification settings - Fork 765
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add autotune.set_config api doc #4687
Merged
zhangting2020
merged 5 commits into
PaddlePaddle:develop
from
zhangting2020:autotune_api
Apr 29, 2022
Merged
add autotune.set_config api doc #4687
zhangting2020
merged 5 commits into
PaddlePaddle:develop
from
zhangting2020:autotune_api
Apr 29, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thanks for your contribution! |
zhangting2020
force-pushed
the
autotune_api
branch
2 times, most recently
from
April 27, 2022 05:31
dd3791a
to
545f121
Compare
zhangting2020
force-pushed
the
autotune_api
branch
from
April 27, 2022 05:32
545f121
to
b3254e3
Compare
fix typo
dingjiaweiww
approved these changes
Apr 27, 2022
gongweibao
reviewed
Apr 28, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
只有layout的调优目前不支持静态图
这个是否要写入文档?
gongweibao
reviewed
Apr 28, 2022
- **enable** (bool) - 是否开启kernel的调优功能。 | ||
- **tuning_range** (list) - 自动调优开始和结束的迭代序号。默认值:[1, 10]。 | ||
|
||
2. layout:当开启自动调优,将根据设备和数据类型确定最优的数据布局如NCHW或者NHWC。当原始的layout设置并非最优时,将会自动进行layout的转换以提升模型的性能。该功能当前仅支持动态图模式。调优参数如下: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
该功能当前仅支持动态图模式
请加粗一下?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
add autotune.set_config api doc